package com.appointment.service;

import com.appointment.pojo.Appointment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

public interface AppointmentService extends IService<Appointment> {

    @Transactional
    public void updateStatus(String appointmentId, String professorId, int status);

    @Transactional
    public void saveWithLog(Appointment appointment);
}
